Previous page Next page

Display Push Example 2:

Using our previous hotel example, the hotel is ready to serve lunch and wants to send the lunch menu directly to each room’s telephone display screen, including sounding an alert to get the guest’s attention. The XML payload sent as part of the Push Message is as follows:

<!– Following is the XML Push Request Message sent as a POST request embedded as part of form data -->
 
XMLData = <?xml version="1.0"?> 
 
<Push alert=“2” type=“display” mode=“normal”> 
 
<go href=“http://trusted_push_server/lunch_menu.wml” 	   method=“get”>

</go> 
 
</Push> 
 
<!– The above message is part of the form data (XMLData) being sent in Step 1 request -->
 


Previous page Next page